﻿using QFramework;

namespace HKTools
{
    public class CMD_InitFirstPersonCam : AbstractCommand
    {
        HK_FirstPersonCtrl firstPersonCtrl;

        public CMD_InitFirstPersonCam(HK_FirstPersonCtrl firstPersonCtrl)
        {
            this.firstPersonCtrl = firstPersonCtrl;
        }

        protected override void OnExecute()
        {
            this.GetSystem<IHK_FirstPersonCamSystem>().InitFirstPersonCam(firstPersonCtrl);
        }
    }
}